

#if !defined(AFX_CLINKEDIT_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
#define AFX_CLINKEDIT_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_

#include "LinkCtrl.h"
#include "CommonDef.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CLinkEdit : public CEdit, public CLinkCtrl
{
public:
	CLinkEdit(INPUT_FIELD_INFO* pFieldInfo = NULL);
	virtual ~CLinkEdit();

	enum				{CtrlType = IBT_EditBox};

	virtual DWORD		GetControlType(){return CtrlType;}
	virtual CString		GetControlData(BOOL bTrimBlank = TRUE, BOOL bReplaceSingleQuotation = TRUE);
	virtual void		ScrollToVisible();

	BOOL				CopyFrom(CLinkEdit* pFrom);
	
protected:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual void PreSubclassWindow();

};



#endif//AFX_CLINKEDIT_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_